package cn.thr.pethome.user.service;

import cn.thr.pethome.base.service.IBaseService;
import cn.thr.pethome.login.domain.PhoneRegister;
import cn.thr.pethome.user.domain.User;
import cn.thr.pethome.user.domain.UserVO;
import cn.thr.pethome.util.AjaxResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author thr
 * @since 2023-01-12
 */
public interface IUserService extends IBaseService<User> {
   User findByPhone(String Phone);
   //这个add 是个方法重载 给注册使用的
   void  add (PhoneRegister phoneRegister);
   AjaxResult phoneCodeLogin(UserVO uservo);
}
